package com.digital.smartgrow.entity.sysinfo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 字典项
 * </p>
 *
 * @author xiewb
 * @since 2022-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dictionary_item")
@ApiModel(value="DictionaryItem对象", description="字典项")
public class DictionaryItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "字典项编号")
    @TableField("itemNumber")
    private String itemNumber;

    @ApiModelProperty(value = "字典项名称")
    @TableField("itemName")
    private String itemName;

    @ApiModelProperty(value = "字典编号")
    @TableField("dictNumber")
    private String dictNumber;

    @ApiModelProperty(value = "状态，0：禁用，1：启用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "0：未删除，1：已删除")
    @TableField("deleted")
    private Integer deleted;

    @ApiModelProperty(value = "修改人")
    @TableField("updateId")
    private Integer updateId;

    @ApiModelProperty(value = "修改时间")
    @TableField("updateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建人")
    @TableField("createId")
    private Integer createId;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "系统字典")
    @TableField("issys")
    private Integer issys;


}
